 package sza.oracle.apps.ap.oie.webui;
 
 import oracle.apps.ap.oie.server.TrackExpenseReportsVOImpl;
 import oracle.apps.ap.oie.server.TrackExpenseReportsVORowImpl;
 import oracle.apps.ap.oie.webui.TrackExpenseReportsCO;
 import oracle.apps.fnd.common.VersionInfo;
 import oracle.apps.fnd.framework.OAApplicationModule;
 import oracle.apps.fnd.framework.webui.OAPageContext;
 import oracle.apps.fnd.framework.webui.beans.OAWebBean;
 import oracle.jbo.domain.Number;
 import sza.oracle.apps.ap.oie.utility.SzaOIEUtil;
 
 public class SzaTrackExpenseReportsCO extends TrackExpenseReportsCO
 {
   public static final String RCS_ID = "$Header$";
   public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header$", "%packagename%");
   public String l_debug_log;
 
   private void $init$()
   {
     this.l_debug_log = "";
   }
 
   public void processRequest(OAPageContext pageContext, OAWebBean webBean)
   {
     String LogMessage = "";
     String LogFunction = "";
     LogFunction = "SZA SzaTrackExpenseReportsCO.processRequest";
     OAApplicationModule am = pageContext.getApplicationModule(webBean);
 
     LogMessage = "SZA SzaTrackExpenseReportsCO.processRequest - Start";
 
     SzaOIEUtil.cmlinLog(pageContext, LogFunction, LogMessage);
 
     super.processRequest(pageContext, webBean);
 
     TrackExpenseReportsVOImpl vo = (TrackExpenseReportsVOImpl)am.findViewObject("TrackExpenseReportsVO");
 
     String ReportHeaderId = "";
     if (vo != null)
     {
       vo.reset();
       while (vo.hasNext())
       {
         vo.next();
 
         TrackExpenseReportsVORowImpl row = (TrackExpenseReportsVORowImpl)vo.getCurrentRow();
 
         ReportHeaderId = row.getReportHeaderId().toString();
         LogMessage = "SZA SzaTrackExpenseReportsCO.processRequest - ReportNumber: " + row.getReportNumber() + " - ReportHeaderId:" + ReportHeaderId + " - InvoiceId:" + row.getInvoiceId() + " - RowStatus:" + row.getStatus();
 
         SzaOIEUtil.cmlinLog(pageContext, LogFunction, LogMessage);
       }
 
       vo.reset();
     }
 
     LogMessage = "SZA SzaTrackExpenseReportsCO.processRequest - End";
 
     SzaOIEUtil.cmlinLog(pageContext, LogFunction, LogMessage);
   }
 
   public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
   {
     String LogMessage = "";
     String LogFunction = "";
     LogFunction = "SZA SzaTrackExpenseReportsCO.processFormRequest";
     OAApplicationModule am = pageContext.getApplicationModule(webBean);
 
     LogMessage = "SZA SzaTrackExpenseReportsCO.processFormRequest - Start";
 
     SzaOIEUtil.cmlinLog(pageContext, LogFunction, LogMessage);
 
     super.processFormRequest(pageContext, webBean);
 
     LogMessage = "SZA SzaTrackExpenseReportsCO.processFormRequest - End";
 
     SzaOIEUtil.cmlinLog(pageContext, LogFunction, LogMessage);
   }
 
   public SzaTrackExpenseReportsCO()
   {
     $init$();
   }
 }



